<template>
  <div class="file-wrapper">
    <el-container class="el-container">
      <el-aside width="auto">
        <ProjectMenu></ProjectMenu>
      </el-aside>
      <el-container>
        <el-main class="el-main">
          <DeviceState></DeviceState>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import ProjectMenu from "./components/AsideMenu/ProjectMenu";

import DeviceState from "./components/DeviceState/DeviceState";

export default {
  name: "DeviceManage",
  components: {
    ProjectMenu,
    DeviceState
  },
  data() {
    return {
      showFileList: false
    };
  },
  methods: {
    /**
     * 表格选择项发生变化时的回调函数
     * @param {[]} selection 勾选的行数据
     */
    confirmSelect(selection) {
      console.log(selection);
    }
  }
};
</script>

<style lang="stylus" scoped>
@import '~@/assets/styles/varibles.styl';
@import '~@/assets/styles/mixins.styl';

.file-wrapper {
  width: 100% !important;
}

.el-container {
  .el-aside {
    height: calc(100vh - 61px);
    overflow: hidden;
  }
}

.el-main {
  padding: 0px 16px !important;
  overflow: hidden;
}

.FileGrid{
  position:fixed;
  z-index:10;
  background:rgba(0,0,0, 0.8);
}
.grayground{
  background:white;
}
</style>
